package cc.chenwenxi.mypi.appium.listener;

import io.appium.java_client.events.api.general.SearchingEventListener;
import lombok.extern.slf4j.Slf4j;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;

@Slf4j
public class 搜索Listener implements SearchingEventListener {
    @Override
    public void beforeFindBy(By by, WebElement webElement, WebDriver webDriver) {
//        log.info("~~~搜索前:{}",by.toString());
    }

    @Override
    public void afterFindBy(By by, WebElement webElement, WebDriver webDriver) {
//        log.info("~~~搜索后:{}",by);
    }
}
